﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace XMK.AuthModule
{
  
    public class AuthPathConnection:ConfigurationElementCollection
    {
        
        protected override ConfigurationElement CreateNewElement()
        {
            return new AuthPathInfoElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((AuthPathInfoElement)element).PathInfo;
        }

        protected override String ElementName
        {
            get { return "add"; }
        }

        public override ConfigurationElementCollectionType CollectionType
        {
            get
            {
                return ConfigurationElementCollectionType.BasicMap;
            }
        }

        

    }
}
